const taskmodel = {
	namespaced: true,
	state: () => ({
        taskObject:{}
	}),
	mutations: {
	    setTaskModel(state,value){
            state.taskObject = value
        }
	},
    actions:{
       getTaskModel(context,value){
            context.commit('setTaskModel', value)
            return new Promise((resolve)=>{
                resolve(value)
            })
       }
    }
}

export default taskmodel
